package com.yeyks.common.result.user;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: dagny
 * @date: 2019/12/2 0002 10:28
 */
@Data
@NoArgsConstructor
public class UserInfoByParamResult extends BaseRowModel implements Serializable {

    private static final long serialVersionUID = -2878629484795321587L;

    @ExcelProperty(value = "ID", index = 0)
    private Integer id;

    @ExcelProperty(value = "手机号", index = 1)
    private String phone;

    @ExcelProperty(value = "注册时间", index = 2)
    private Date gmtCreate;

    @ExcelProperty(value = "邀请用户数", index = 3)
    private Integer inviteCount = 0;

    @ExcelProperty(value = "是否企业用户", index = 4)
    private String type;

}
